package com.yunshang.shoppingmall.mapper;


import com.yunshang.shoppingmall.entity.ProductApis;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductApisMapper {

    //根据产品Id查询商品详情
    ProductApis selectProductById(int productId);

    //根据活动标志查询商品
    List<ProductApis> selectProductByActiveSign(int activeSign);

    //根据商品名称查询商品
    List<ProductApis> selectProductByProductName(@Param("productName") String productName);


    //根据产品Id查询商品详情
   List<ProductApis> selectProductBySJClassifyId(@Param("sjClassifyId")int sjClassifyId);



}
